﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;

namespace MVCGalloSoftMV5.Models
{
    public class Coordenada
    {
        [Key]
        public int CoordenadaId { get; set; }
        [Display(Name = "Latitud")]
        [Required(ErrorMessage = "El campo Latitud es requerido")]  
        public decimal Lat { get; set; }
        [Display(Name = "Longitud")]
        [Required(ErrorMessage = "El campoLongitud es requerido")]  
        public decimal Lng { get; set; }
    }
}